from flask import Blueprint, redirect

redirect_bp = Blueprint('redirect', __name__)


@redirect_bp.route('/redirect', methods=['GET'])
def redirect_method():
    return redirect('/redirect2')


@redirect_bp.route('/redirect2', methods=['GET'])
def redirect_method2():
    return 'Hello Redirect This a Message!'
